package com.woniuxy.depot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.depot.model.DTO.Condition;
import com.woniuxy.depot.model.DTO.OutStockDTO;
import com.woniuxy.depot.model.DTO.Statistics;
import com.woniuxy.depot.model.VO.StockGoodsVO;
import com.woniuxy.depot.model.VO.StockGoodssVO;
import com.woniuxy.depot.model.entity.DepotOutStock;

import java.util.List;

public interface DepotOutStockService {

    Page<DepotOutStock> all(int current, int size);

    List<DepotOutStock> searchByGoodsCode(String code);

    List<DepotOutStock> searchByCondition(Condition condition);

    Boolean updateState(String formNo, Integer state);

    Boolean insert(OutStockDTO outStockDTO);

    List<StockGoodssVO> detail(Integer id);

    List<Statistics> statistics();
}
